/**
 * fshows.com
 * Copyright (C) 2013-2018 All Rights Reserved.
 */
package
        com.example.fardemo.jmh.counter.impl.disruptor;

import com.example.fardemo.jmh.counter.impl.DisruptorCounter;
import com.lmax.disruptor.EventHandler;

/**
 *
 * @author Liluqing
 * @version LongEventHandler.java, v 0.1 2018-12-18 21:48
 */
public class LongEventHandler implements EventHandler<LongEvent>{
    @Override
    public void onEvent(LongEvent longEvent, long l, boolean b) throws Exception {
        DisruptorCounter.num++;
    }
}